package com.myway.components.esb;

import java.util.HashMap;


/**
 * @ClassName: ESBEmun <br/>
 * @Description:  <br/>
 * @CreateDate: 2016年5月17日 下午6:56:54 <br/>
 * @author Toby
 * @version V1.0
 */
public enum ESBEnum {

	/**接口协议**/
	path("esb.path"),
	identification("esb.identification"),
	name("esb.access.name"),
	pass("esb.access.pass"),
	from("esb.from"),
	
	/**接口地址**/
	SearchFlight("SearchFlight"),
	SearchReturnFlightNum("SearchReturnFlightNum"),
	SearchLowestFares("SearchLowestFares"),
	SearchSpecialFlights("SearchSpecialFlights"),
	SearchRoundFlights("SearchRoundFlights"),
	SearchRoundPrices("SearchRoundPrices"),
	SearchPnrByFlight("SearchPnrByFlight"),
	SearchContactByFlight("SearchContactByFlight"),
	GenerateOrder("GenerateOrder"),
	KKOrder("KKOrder"),
	ValidateOrderTicketRR("ValidateOrderTicketRR"),
	ValidateTicketStatusByPNR("ValidateTicketStatusByPNR"),
	GetOrderList("GetOrderList"),
	GetOrderDetail("GetOrderDetail"),
	CancelOrder("CancelOrder"),
	UpdateOrderStatus("UpdateOrderStatus"),
	QuerySource("QuerySource"),
	RefundOrder("RefundOrder"),
	FindFlightRefund("FindFlightRefund"),
	UpdateActualRefundAmount("UpdateActualRefundAmount"),
	UpdateRefundStatus("UpdateRefundStatus"),
	FindRefundById("FindRefundById"),
	RefundFlightForMispay("RefundFlightForMispay"),
	RefundSegment("RefundSegment"),
	UpgradeSegment("UpgradeSegment"),
	ChangeSegment("ChangeSegment"),
	ConfirmChange("ConfirmChange"),
	GetUpgradeSegmentDetail("GetUpgradeSegmentDetail"),
	CancelUpgradeSegment("CancelUpgradeSegment"),
	KKUpgradeSegment("KKUpgradeSegment"),
	ReIssueUpgradeSegment("ReIssueUpgradeSegment"),
	SupplementOrder("SupplementOrder"),
	CanncelExtBuyOrder("CanncelExtBuyOrder"),
	KKOrderExtBuy("KKOrderExtBuy"),
	GetExtbuyDetailById("GetExtbuyDetailById"),
	GetSupplementOrderByOrderId("GetSupplementOrderByOrderId"),
	SearchExtbuyByCriteria("SearchExtbuyByCriteria"),
	SearchExceptionOrder("SearchExceptionOrder"),
	GetPaymentMispayByPaymentNo("GetPaymentMispayByPaymentNo"),
	AddPaymentMispayInfo("AddPaymentMispayInfo"),
	ModifyMispayStatus("ModifyMispayStatus"),
	FindUndoPaidNoTickt("FindUndoPaidNoTickt"),
	SearchPaidNoTicktByCritera("SearchPaidNoTicktByCritera"),
	HandleOrderPaidNOTicket("HandleOrderPaidNOTicket"),
	OnlineFillOut("OnlineFillOut"),
	FindEtRepairRefundDetail("FindEtRepairRefundDetail"),
	GetPnrInfo("GetPnrInfo"),
	CheckPnrExist("CheckPnrExist"),
	InsertPnrInfo("InsertPnrInfo"),
	BookPnrSsr("BookPnrSsr"),
	GetDETRTicketInfo("GetDETRTicketInfo"),
	GetTicketInfo("GetTicketInfo"),
	FindTicketByTicketNo("FindTicketByTicketNo"),
	getTicketInfoForCLK("getTicketInfoForCLK"),
	FlightPurser("FlightPurser"),
	FlightDy("FlightDy"),
	Weather("Weather"),
	FlightBasicInfo("FlightBasicInfo"),
	SeatMap("SeatMap"),
	Seat("Seat"),
	AsrSeat("AsrSeat"),
	CancelAsrSeat("CancelAsrSeat"),
	GeneratingBP("GeneratingBP"),
	RetypeBP("RetypeBP"),
	ExtractAllTravel("ExtractAllTravel"),
	GetFlightPI("GetFlightPI"),
	GetWeather("GetWeather"),
	GetFlightBIA("GetFlightBIA"),
	GetBarCode("GetBarCode"),
	GetSeatOrderById("GetSeatOrderById"),
	GetSeatOrders("GetSeatOrders"),
	UpdateSeatOrder("UpdateSeatOrder"),
	CheckinTimeCount("CheckinTimeCount"),
	SeatOrdersByCondition("SeatOrdersByCondition"),
	AddSeatRecord("AddSeatRecord"),
	FindLastRecordByTktno("FindLastRecordByTktno"),
	login("login"),
	getIntegralByUserId("getIntegralByUserId"),
	getUserInfoList("getUserInfoList"),
	getUserInfo("getUserInfo"),
	processLog("processLog"),
	getCommonPassengerListByUserId("getCommonPassengerListByUserId"),
	addUserInfo("addUserInfo"),
	addAddress("addAddress"),
	delAddress("delAddress"),
	addContact("addContact"),
	delContacts("delContacts"),
	consumptionIntegral("consumptionIntegral"),
	integralRefund("integralRefund"),
	addCommonPassenger("addCommonPassenger"),
	delCommonPassenger("delCommonPassenger"),
	updateCommonPassenger("updateCommonPassenger"),
	findFillIntegral("findFillIntegral"),
	calcuIntegral("calcuIntegral"),
	addFillIntegral("addFillIntegral"),
	queryIntegralDetailByUserid("queryIntegralDetailByUserid"),
	queryIntegralDetailByCer("queryIntegralDetailByCer"),
	queryUserInfoByCer("queryUserInfoByCer"),
	queryAccumulatedIntegral("queryAccumulatedIntegral"),
	delayIntegral("delayIntegral"),
	rewardIntegral("rewardIntegral"),
	BehaviorAnalysis("BehaviorAnalysis"),
	startCommonProcess("startCommonProcess"),
	queryMenu("queryMenu"),
	getWorkFlowInstanceList("getWorkFlowInstanceList"),
	completeWorkFlowTask("completeWorkFlowTask"),
	updateIntegralReward("updateIntegralReward"),
	updateCommon("updateCommon"),
	updateSpecial("updateSpecial"),
	updateProductStatus("updateProductStatus"),
	backLogin("backLogin"),
	getUserInfoByUsername("getUserInfoByUsername"),
	getSysUser("getSysUser"),
	FlightOrderPay("FlightOrderPay"),
	OrderPayEpos("OrderPayEpos"),
	OrderPayment("OrderPayment"),
	OrderPayEpos2("OrderPayEpos2"),
	OrderRefund("OrderRefund"),
	CancelInsuranceAlone("CancelInsuranceAlone"),
	CreateInsuranceAlone("CreateInsuranceAlone"),
	RefundInsuranceAlone("RefundInsuranceAlone"),
	SearchByCriterial("SearchByCriterial"),
	SearchInsuranceLogs("SearchInsuranceLogs"),
	SearchSupportBusinessByCriterial("SearchSupportBusinessByCriterial"),
	CreateSupportBusinessOrder("CreateSupportBusinessOrder"),
	GetSupportBusinessOrder("GetSupportBusinessOrder"),
	RefundSupportBusinessOrder("RefundSupportBusinessOrder"),
	GetSupportBusinessRefundOrder("GetSupportBusinessRefundOrder"),
	ChangeSupportBusinessStatus("ChangeSupportBusinessStatus"),
	ChangeSupportBusinessRefundStatus("ChangeSupportBusinessRefundStatus"),
	SearchSupportBusinessList("SearchSupportBusinessList"),
	QueryViphouseList("QueryViphouseList"),
	FindVipHouseByOrderNo("FindVipHouseByOrderNo"),
	QueryPaymeal("QueryPaymeal"),
	FindPaymealByOrderNo("FindPaymealByOrderNo"),
	QuerySupportbusinessRapidlyList("QuerySupportbusinessRapidlyList"),
	FindRapidlyByOrderNo("FindRapidlyByOrderNo"),
	GetHotelList("GetHotelList"),
	GetHotelDetail("GetHotelDetail"),
	GetHotelOrderList("GetHotelOrderList"),
	GetHotelOrderDetail("GetHotelOrderDetail"),
	BookElongHotel("BookElongHotel"),
	CanceElongHotel("CanceElongHotel"),
	PayElongHotel("PayElongHotel"),
	CreditCardValidate("CreditCardValidate"),
	SendMobileMsg("SendMobileMsg"),
	GetSmsTemplateList("GetSmsTemplateList"),
	SaveOrUpdateSmsTemplate("SaveOrUpdateSmsTemplate"),
	GetSmsTemplate("GetSmsTemplate"),
	DeleteSmsTemplate("DeleteSmsTemplate"),
	SendEmail("SendEmail"),
	GetEmail("GetEmail"),
	QueryCityAirport("QueryCityAirport"),
	SyncFareData("SyncFareData"),
	SelectSelfCityList("SelectSelfCityList"),
	GetLocationCityDetail("GetLocationCityDetail"),
	SelectStoreList("SelectStoreList"),
	SelectCarModelPriceRangeDescriptList("SelectCarModelPriceRangeDescriptList"),
	SelectCarModelSeatRangeDescriptList("SelectCarModelSeatRangeDescriptList"),
	ChannelSelectCarModelPriceList("ChannelSelectCarModelPriceList"),
	ChannelSelectedModelDetail("ChannelSelectedModelDetail"),
	ChannelSaveOrder("ChannelSaveOrder"),
	ChannelOrderPay("ChannelOrderPay"),
	ChannelGetOrderDetail("ChannelGetOrderDetail"),
	CancelTop1Order("CancelTop1Order"),
	GetListTop1Order("GetListTop1Order"),
	PushingData("PushingData"),
	TravelPrice("TravelPrice"),
	YHCeateOrder("YHCeateOrder"),
	YHCancelOrder("YHCancelOrder"),
	YHCeateB2COrder("YHCeateB2COrder"),
	YHCancelB2COrder("YHCancelB2COrder"),
	AgreedOrder("AgreedOrder"),
	DriverChange("DriverChange"),
	ServiceComplete("ServiceComplete"),
	CityList("CityList"),
	CarList("CarList"),
	YHOrderList("YHOrderList"),
	SearchSaleTotalReport("SearchSaleTotalReport"),
	SearchSaleSummaryReport("SearchSaleSummaryReport"),
	SearchAirPlaneTicketReport("SearchAirPlaneTicketReport"),
	SearchAirPlaneTicketDetailReport("SearchAirPlaneTicketDetailReport"),
	SearchChangeToDetailReport("SearchChangeToDetailReport"),
	SearchOrderErrorReport("SearchOrderErrorReport"),
	SearchRefundTicketDetailReport("SearchRefundTicketDetailReport"),
	SearchRedVIPMealDetailReport("SearchRedVIPMealDetailReport"),
	SearchInsuranceSaleReport("SearchInsuranceSaleReport"),
	SearchSupportBussinessByPlaneTypeReport("SearchSupportBussinessByPlaneTypeReport"),
	SearchSupportBussinessByFlightNoReport("SearchSupportBussinessByFlightNoReport"),
	SearchSupportBussinessDetailReport("SearchSupportBussinessDetailReport"),
	SearchUnderLineRefundOrderInfoReport("SearchUnderLineRefundOrderInfoReport"),
	SearchAuxiliaryDetailReport("SearchAuxiliaryDetailReport"),
	SearchAuxiliarySummary("SearchAuxiliarySummary"),
	SearchAuxiliaryRetreatReport("SearchAuxiliaryRetreatReport"),
	GetSceneryList("GetSceneryList"),
	GetSceneryDetail("GetSceneryDetail"),
	GetSceneryTrafficInfo("GetSceneryTrafficInfo"),
	GetSceneryImageList("GetSceneryImageList"),
	GetNearbyScenery("GetNearbyScenery"),
	GetSceneryPrice("GetSceneryPrice"),
	GetPriceCalendar("GetPriceCalendar"),
	SubmitSceneryOrder("SubmitSceneryOrder"),
	CancelSceneryOrder("CancelSceneryOrder"),
	GetSceneryOrderList("GetSceneryOrderList"),
	GetSceneryOrderDetail("GetSceneryOrderDetail"),
	GetSceneryUserOrderList("GetSceneryUserOrderList"),
	Getpayorder("Getpayorder"),
	ChangeFeeReckon("ChangeFeeReckon"),
	CheckRefundType("CheckRefundType"),
	getTaskidByBusinessKey("getTaskidByBusinessKey"),
	AgainSubmitRefund("AgainSubmitRefund"),
	GetPriceLog("GetPriceLog");
	
	
	
	private final String alias;

	private static HashMap<String, ESBEnum> map;

	static 
	{
		map = new HashMap<String, ESBEnum>();
		for (ESBEnum type : ESBEnum.values()) {
			map.put(type.alias, type);
		}
	}

	ESBEnum(String alias) 
	{
		this.alias = alias;
	}

	@Override
	public String toString()
	{
		return this.alias;

	}

	public static ESBEnum valueOfAlias(String alias) 
	{
		ESBEnum type = map.get(alias);

		if (type == null) {
			throw new IllegalArgumentException("Unknown action alias [" + alias + "]");
		}

		return type;
	}

	/**
	 * @return the alias
	 */
	public String getAlias() {
		return this.alias;
	}
	
	
}
